Comments (9)
mmmh, if its not possible to use swagger automatically, you can still write the swagger/opengraph file by hand, which still would be better than something you can do in markdown or smth. maybe I can look into getting that started after work
from xenfororesourcemanagerapi.
Now hosting an openapi definition which can be read by swaggerui. If desired, @md-5 could host a swagger UI static site and link to the openapi definition so people could reference it. For now, I have an example here: https://area51.jacobandersen.dev/docs/xfrm/0.2
(these docs will remain WIP but they have fairly good coverage as they are now)
from xenfororesourcemanagerapi.
Also the versions are sometimes null and sometimes empty string / array. Guess it depends on whether they've been set before or something.
from xenfororesourcemanagerapi.
Also the versions are sometimes null and sometimes empty string / array. Guess it depends on whether they've been set before or something.
Do you have an example of when it's an empty string? Empty array makes sense if there are none set at all, but if it's empty array and they are set then that's a bug.
Empty string may be a bug regardless but not sure.
from xenfororesourcemanagerapi.
Ah, indeed. It'll be null
if never set before at all. []
(empty array) if set before and then unset.
Empty string, not sure why it would be that.
from xenfororesourcemanagerapi.
I think the native version is an empty string if set then unset (as its not an array)
from xenfororesourcemanagerapi.
Ah yeah. Okay, that all makes sense.
This just emphasizes even more that I need to write some docs, because even I'm getting confused LOL.
from xenfororesourcemanagerapi.
no clue about php land, but wouldn't it help to just throw up swagger and call it a day?
that can display all requests with their params, and provide sample responses and even a way to try out requests right in the browser.
from xenfororesourcemanagerapi.
no clue about php land, but wouldn't it help to just throw up swagger and call it a day?
that can display all requests with their params, and provide sample responses and even a way to try out requests right in the browser.
I have never used swagger honestly, is that something that can be integrated into this project being that there is no framework in use? (I wrote it all by hand, because it's a relatively trivial project.)
from xenfororesourcemanagerapi.
Related Issues (20)
- Minecraft Versions are displaying weirdly HOT 2
- Add ability to specify sorting mode for resource listing HOT 2
- Send 404 when the resource or author is not found HOT 6
- Little error on README.md
- [Suggestion] Expose Resource Version in `getResourceUpdate` Response HOT 3
- Wrong default icon HOT 2
- `native_minecraft_version` and `supported_minecraft_versions` return null. HOT 6
- List number of resources & resources per page in API response HOT 1
- Add JSON requests instead of URI requests HOT 8
- Premium Verifier HOT 3
- Get information to members (getMemberById) HOT 7
- Endpoints for authenticating an application with user credentials HOT 8
- Lower the cache TTL for author-related endpoints HOT 6
- `listResources` endpoint category parameter issues HOT 3
- Include category in endpoints returning resource information
- Suggestion: improvements to getResourceUpdate HOT 3
- The paginated pages in the api are in reverse order to spigot pages HOT 3
- API returning wrong resurces? HOT 4
- Add a way of searching SpigotMC resources HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xenfororesourcemanagerapi.