contributte / apitte

:wrench: An opinionated and enjoyable API framework based on Nette Framework. Supporting content negotiation, debugging, middlewares, attributes, annotations and loving openapi/swagger.
https://contributte.org/packages/contributte/apitte/
MIT License
61 stars 37 forks source link

Feedback on apitte@0.9 #174

Closed f3l1x closed 1 year ago

f3l1x commented 2 years ago

Apitte has been melted to single one package.

See more on https://github.com/contributte/contributte/issues/50.


How to test it?

{
  "require": {
    "contributte/apitte": "^0.9.0"
  },
  "prefer-stable": true,
  "minimum-stability": "dev"
}
northys commented 2 years ago

upgraded and it works

Roman3349 commented 2 years ago

~Some commits (e.g. https://github.com/contributte/apitte-core/commit/8cdf154b05d355598e5deca25ad07aeb587e7f64 and https://github.com/contributte/apitte-core/commit/e114cfa747977972ceb77e059d474eb00b1edf76) are missing.~ Fixed.

khorsky commented 2 years ago

When using middlewares, man must manually register middleware extension.

That information is missing in doc page of this package, one has to dig through apitte/middleware documentation, which I find a bit strange...

f3l1x commented 2 years ago

Thank you @khorsky.

f3l1x commented 2 years ago

@khorsky added, https://github.com/contributte/apitte/commit/0281c99b1e18890a1e5df6ad9dd47cab8a72aa12

darkWolf-PR commented 1 year ago

Going through Contributte website´s search: Apitte sends you here: https://contributte.org/apitte/#global-layout

Get Started button leads here: https://contributte.org/packages/contributte/apitte-core/

And that page suggests installing just one package of the old divided version by composer require apitte/core instead of composer require contributte/apitte.

Searching for this issue when u don´t remember the exact composer string can be closely compared to Hell... Like almost everything within documentations on Contributte.org.

Contributte homepage highlighted apitte-skeleton is just the same. Composer has required old divided version.


Btw. I´m not sure which version added this, but why there has to be /api in the url? I had installed v0.6 and because I´m using it on subdomain api.domain.com, I had it just like this, api.domain.com/v1 and it worked. For some unknown reason, I´m unable to get it working with latest version without /api/v1, with completely redundant /api directory... I´m mean, I can live with it, but if it´s really the case, it should be written in documentation.

f3l1x commented 1 year ago

Thank you for your feedback @darkWolf-PR. I will try to update docs.

f3l1x commented 1 year ago

Closing here